<!DOCTYPE html>
<html>
<body>

<!--CONTENT SECTION START-->

<div id="main-wrapper-sec">

<section>

	<!--INNER MAIN TITLE SECTION START-->

    <h2 class="inner-main-title pr-title">packages</h2>
    
    <!--INNER MAIN TITLE SECTION END-->
    
    <!--CONTENT MAIN SECTION START-->
    
  <div class="content-main-sec">
  
  <!--INNER CONTENT LEFT MENU SECTION START-->
  
  <ul class="inner-left-menu-sec">
    <?php include('leftmenu.phtml');?>
  </ul>
  
  <!--INNER CONTENT LEFT MENU SECTION END-->
  
  <!--INNER CONTENT RIGHT SECTION START-->
  
  <article class="inner-cont-right-sec">
  
	<h1 class="inner-cont-title">Package History</h1>
		<ul class="acc-sd-sec">
		  <li>
			<!--<div class="pa-st-sec"><img src="<?php echo $this->basePath(); ?>images/packages-icon.png" alt="">View Packages</div>
			<div class="pa-st-sec"><img src="<?php echo $this->basePath(); ?>images/package-history-icon.png" alt="">Package History</div>-->
		  <li><a href="<?php echo $this->url('packages-1', array('action' => 'packages-1')); ?>" class="pa-st-sec" ><img src="<?php echo $this->basePath(); ?>/images/packages-icon.png" alt="">View Packages</a> <a href="<?php echo $this->url('packages-history', array('action' => 'packages-history')); ?>" class="pa-st-sec" ><img src="<?php echo $this->basePath(); ?>/images/package-history-icon.png" alt="">Package History</a></li>
		  </li>
		</ul>
	<div class="clear"></div>
	<div class="cd-sf-sec" style="width:600px;">
		<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
			<tr class="title">
				<td width="32%" align="left" valign="middle">Plan</td>
				<td width="43%" align="left" valign="middle">AvailableTime</td>
				<td width="25%" align="left" valign="middle">ExpireTime</td>
			</tr>
			<?php if(count($data['infoSuiteOrders'])=="0"){ ?>
				<tr>
				  <td width="32%" colspan="3" align="middle" valign="middle">No History.....</td>
				</tr>
			<?php  } ?>
			<?php if($Suitename!=''){ for($i=0;$i<count($Suitename);$i++){?>
				<tr>
				<td width="32%" align="left" valign="middle"><?php echo $Suitename[$i]; ?></td>
					<td width="33%" align="left" valign="middle"><?php $original_timestamp=$availableTime[$i];$timestamp = (int)substr($original_timestamp,0,-3);echo date('Y-M-d',$timestamp); ?></td>
					<td width="43%" align="left" valign="middle"><?php $a='9223372036854775807';if($a==$expireTime[$i]){ echo 'No Expire Time';}else{ $original_timestamp1=$expireTime[$i];$timestamp1 = (int)substr($original_timestamp1,0,-3);echo date('Y-M-d',$timestamp1); } ?></td>
				</tr>
			<?php } }  ?>
				
			
		</table>
	</div>  
	<div class="clear"></div>
  
  </article>
  
  <!--INNER CONTENT RIGHT SECTION END-->
  
  </div>
  
  <!--CONTENT MAIN SECTION END-->
  
  <div class="clear"></div>
  
  <!--CLIENTS AREA SECTION START-->
  
  <aside class="content-main-sec ot-lg-sec"> <img src="<?php echo $this->basePath(); ?>/images/truste.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/secured.jpg" alt=""> <img src="<?php echo $this->basePath(); ?>/images/mcafeev.jpg" alt="">
    <h3 class="otg-title">Trusted. Safe. Reliable.</h3>
  </aside>
  
  <!--CLIENTS AREA SECTION END-->
  
  <div class="clear"></div>
</section>

</div>

<!--CONTENT SECTION END--> 

</body>
</html>
